﻿using System.Data.Entity;
using SimpleBlog.Models;

namespace SimpleBlog.Infrastructure.Database
{
    public class SbContext : DbContext
    {
        public SbContext() : base("SimpleBlogDb") { }

        public DbSet<Configuration> Configurations { get; set; }

        public DbSet<Post> Posts { get; set; }

        public DbSet<Tag> Tags { get; set; }

        public DbSet<User> Users { get; set; }

        public DbSet<Comment> Comments { get; set; }

        public DbSet<UserComment> UserComments { get; set; }
    }
}